package com.dynabook.ems.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 样机工单待审批列表响应VO
 */
@Data
@ApiModel(value = "样机工单待审批列表信息", description = "样机工单待审批列表展示数据")
public class WorkOrderSampleApprovalListVO {
    
    @ApiModelProperty(value = "申请ID")
    private String emsRequestId;
    
    @ApiModelProperty(value = "样品编号")
    private String fixedNo;
    
    @ApiModelProperty(value = "样品名称")
    @JsonProperty("MODEL_NAME")
    private String MODEL_NAME;
    
    @ApiModelProperty(value = "样品型号")
    private String type;
    
    @ApiModelProperty(value = "借用数量")
    private Integer borrowNum;
    
    @ApiModelProperty(value = "借用人")
    private String userName;
    
    @ApiModelProperty(value = "借用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date borrowTime;
    
    @ApiModelProperty(value = "申请状态")
    private Integer requestStatus;
    
    @ApiModelProperty(value = "所属类别")
    private String bigCategory;
    
    @ApiModelProperty(value = "所属细分")
    private String category;
    
    @ApiModelProperty(value = "库存数量")
    private Integer inventoryNum;
    
    @ApiModelProperty(value = "可否外借")
    private Integer canBorrow;
    
    @ApiModelProperty(value = "是否损坏")
    private Integer broken;
    
    @ApiModelProperty(value = "是否拒绝")
    private Integer rejectFlag;
    
    @ApiModelProperty(value = "样品库位")
    private String location;
    
    @ApiModelProperty(value = "课室")
    private String sectionManager;
}